← Lab /Security & privacy

Zero-knowledge LLM inference can be faked with ghost weights, letting providers run tiny models

Zero-knowledge verification of LLM inference does not guarantee that the declared model size was actually executed

Security & privacy arXiv 30 Jul 2026 Attack Theory Threat model

Published as “Hollow-LLM Attack: Computationally Trivial Weights in Zero-Knowledge Verification of LLM Inference”

Why it matters

Providers could charge for large-parameter models while incurring only small-model compute costs, eroding trust in zk-LLM verification services.

Summary

The paper shows that zero-knowledge proofs for LLM inference do not guarantee that the provider actually performs the amount of computation implied by the declared model size, enabling a Hollow-LLM attack where a provider runs a much smaller inner model but supplies ghost weights that make the proof appear valid for a large outer model. Empirical results (Table 2) demonstrate that serve-side time stays constant while ZKP costs grow with the declared architecture, confirming the effort gap. The authors provide concrete, training-free constructions of such ghost weights and analyze the economic incentives, indicating that providers could overstate model scale without extra compute cost. Evidence is strong: they formalize the gap, build explicit attacks, and measure proof overheads on real transformer configurations.

What they found 1

  1. Zero-knowledge proofs certify equation-level correctness but do not bind the amount of computation performed.

    “it does not bind the effort expended to produce the output.”

Caveats 3

  • An overly aggressive enlargement can undermine stealth. A declared architecture that vastly exceeds what users expect for a given service or device may break immersion and raise suspicion.
  • We do not claim that arbitrary over-claiming is indistinguishable.
  • Extreme outer/inner gaps may create detectable quality shifts or behavioral anomalies.

What’s new here 4

  • Formalizes the previously unaddressed effort-binding gap in zk-LLM inference.
  • Introduces the Hollow-LLM attack with concrete ghost-weight constructions that preserve proof validity while collapsing actual computation.
  • Demonstrates a clear separation between serve-side cost (fixed) and proof-generation cost (scales with declared model).
  • Analyzes economic incentives and practical stealth considerations for over-claiming model size.

Threat model stated by the source

Adversarydishonest service provider who seeks to reduce computation while appearing to run the larger declared model
Capabilitycan generate outputs using a smaller inner model and supply ghost weights that satisfy the ZK proof for the declared outer architecture
Assumespublic architecture and commitment are fixed and binding; verifier sees only (x, y, π) and cannot observe runtime computation; adversary cannot modify the verifier’s circuit, trapdoors, or keys