zkLLM: Zero Knowledge Proofs for Large Language Models
Haochen Sun, Jason Li, Hongyang Zhang

TL;DR
This paper introduces zkLLM, a novel zero-knowledge proof system tailored for large language models, enabling efficient, privacy-preserving verification of LLM outputs and operations, including attention mechanisms, with practical performance on billion-parameter models.
Contribution
The paper presents the first specialized zero-knowledge proof for LLMs, including a parallelized lookup argument and a proof for attention mechanisms, significantly improving verification efficiency and privacy.
Findings
Proof generation for 13B parameter LLMs in under 15 minutes
Proof size is less than 200 kB, ensuring compactness
Achieves privacy preservation of model parameters
Abstract
The recent surge in artificial intelligence (AI), characterized by the prominence of large language models (LLMs), has ushered in fundamental transformations across the globe. However, alongside these advancements, concerns surrounding the legitimacy of LLMs have grown, posing legal challenges to their extensive applications. Compounding these concerns, the parameters of LLMs are often treated as intellectual property, restricting direct investigations. In this study, we address a fundamental challenge within the realm of AI legislation: the need to establish the authenticity of outputs generated by LLMs. To tackle this issue, we present zkLLM, which stands as the inaugural specialized zero-knowledge proof tailored for LLMs to the best of our knowledge. Addressing the persistent challenge of non-arithmetic operations in deep learning, we introduce tlookup, a parallelized lookup…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsSeventeen Ways to Call Uphold Helpline Full Guide USA 24 Hour Assistance
