Open-source large language models (LLMs) are increasingly competitive with closed-source models while offering transparency and the ability to run inference without exposing user inputs to a service provider. However, running large-scale models locally requires substantial computational resources. In practice, users may still resort to a third-party provider, giving rise to privacy and correctness concerns. Existing solutions that address these problems often impose substantial server overhead or introduce additional trust assumptions. In this paper, we present Maverick, a novel approach to private and verifiable LLM inference based on a protocol for delegating matrix-vector multiplication, a dominant operation in LLMs. At its core, Maverick provides, to our knowledge, the first information-theoretically sound verification protocol for matrix-vector multiplication delegation with transparent preprocessing, efficient (batch) verification, and virtually no server overhead. We combine this verification primitive with LPN-based pseudorandom masking to provide input privacy. We implement Maverick and evaluate both of its modes on large open-source models. When only verification is required, Maverick lets commodity clients use models far beyond their own capacity: a laptop and a desktop with a 16 GB GPU generate tokens 81-270$\times$ faster on Qwen3-32B than with local inference, and reach 7-33 tokens per second on Llama 4, a 400B-parameter model that neither can run at all. When input privacy is also required, Maverick generates tokens 10-12$\times$ faster on Qwen2.5-72B than the concurrent system MOSAIC, using precomputed masks.
翻译:暂无翻译