arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13965cs.CRcs.AIcs.LG
收藏

ZKLoRA:用于LoRA验证的高效零知识证明

ZKLoRA: Efficient Zero-Knowledge Proofs for LoRA Verification

Bagel(贝果(研究机构))

Bidhan Roy, Peter Potash, Marcos Villagra

AI总结:

ZKLoRA提出一种基于简洁证明和多方推理的零知识验证协议,在不泄露权重的前提下,1-2秒内验证LoRA与基础模型的兼容性,实现近实时验证并保障贡献者知识产权。

摘要:

低秩适配(LoRA)是一种广泛采用的自定义大规模语言模型的方法。在分布式、不可信的训练环境中,开源基础模型用户可能希望使用外部贡献者创建的LoRA权重,这产生了两个需求:(1)基础模型用户必须确认LoRA权重与预期的基础模型配对时是有效的,(2)LoRA贡献者必须保持其专有权重的私密性,直到获得补偿得到保证。我们提出了ZKLoRA,一种零知识验证协议,它依赖于简洁证明和我们新颖的多方推理过程,在不暴露LoRA权重的情况下验证LoRA与基础模型的兼容性。ZKLoRA产生确定性的正确性保证,并在最先进的大语言模型上仅用1-2秒验证每个LoRA模块。这种低延迟方法实现了近乎实时的验证,并促进了地理上分散的团队和基于合同的训练流水线之间的安全协作。该协议确保交付的LoRA模块按声明工作,保护贡献者的知识产权,同时为基础模型用户提供兼容性和来源的验证。

英文摘要:

Low-Rank Adaptation (LoRA) is a widely adopted method for customizing large-scale language models. In distributed, untrusted training environments, an open source base model user may want to use LoRA weights created by an external contributor, leading to two requirements: (1) the base model user must confirm that the LoRA weights are effective when paired with the intended base model, and (2) the LoRA contributor must keep their proprietary weights private until compensation is assured. We present ZKLoRA, a zero-knowledge verification protocol that relies on succinct proofs and our novel Multi-Party Inference procedure to verify LoRA-base model compatibility without exposing LoRA weights. ZKLoRA produces deterministic correctness guarantees and validates each LoRA module in only 1-2 seconds on state-of-the-art large language models. This low-latency approach enables nearly real-time verification and promotes secure collaboration among geographically decentralized teams and contract-based training pipelines. The protocol ensures that the delivered LoRA module works as claimed, safeguarding the contributor's intellectual property while providing the base model user with verification of compatibility and lineage.

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

↑