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

隐私保护机制使LLM的可验证推断变得廉价

Privacy-Preserving Mechanisms Enable Cheap Verifiable Inference of LLMs

Ritual;MIT(麻省理工学院);Columbia University(哥伦比亚大学)

Arka Pal, Louai Zahran, William Gvozdjak, Akilesh Potti, Micah Goldblum

AI总结:

本研究提出隐私保护机制实现LLM推断的可验证性,通过低成本协议提高验证效率。

摘要:

随着大型语言模型(LLMs)持续增长,能够本地托管和运行模型的用户越来越少。这导致了第三方托管服务的增加使用。然而,在这种情况下,对推断提供者的计算过程缺乏保证。例如,不诚实的提供者可能会用更便宜但性能更弱的模型替代昂贵的大模型,并将结果返回给用户。现有的验证工具通常依赖于密码学方法,如零知识证明(ZKPs),但这些方法会增加显著的计算开销,对于大模型来说仍然不可行。在本工作中,我们提出了一种新的见解——给定一种执行隐私保护LLM推断的方法,可以以边际额外成本获得形式的验证推断。具体来说,我们提出了两种新的协议,利用隐私保护的LLM推断来提供对所执行推断的保证。我们的方法成本低廉,仅需添加少量额外的计算令牌,且对下游影响很小。由于最快的隐私保护推断方法通常比ZK方法更快,所提出的方法也提高了验证运行时间。我们的工作为LLM推断中隐私与可验证性之间的联系提供了新的见解。

英文摘要:

As large language models (LLMs) continue to grow in size, fewer users are able to host and run models locally. This has led to increased use of third-party hosting services. However, in this setting, there is a lack of guarantees on the computation performed by the inference provider. For example, a dishonest provider may replace an expensive large model with a cheaper-to-run weaker model and return the results from the weaker model to the user. Existing tools to verify inference typically rely on methods from cryptography such as zero-knowledge proofs (ZKPs), but these add significant computational overhead, and remain infeasible for use for large models. In this work, we develop a new insight -- that given a method for performing private LLM inference, one can obtain forms of verified inference at marginal extra cost. Specifically, we propose two new protocols which leverage privacy-preserving LLM inference in order to provide guarantees over the inference that was carried out. Our approaches are cheap, requiring the addition of a few extra tokens of computation, and have little to no downstream impact. As the fastest privacy-preserving inference methods are typically faster than ZK methods, the proposed protocols also improve verification runtime. Our work provides novel insights into the connections between privacy and verifiability in LLM inference.

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

↑