← Lab /AI/ML

Zero-knowledge proofs verify LLM API responses without revealing model details

The authors assert they can produce verifiable, zero-knowledge-masked proofs for individual closed-weight LLM API responses without modifying native serving or disclosing weights, prompts, or activations

AI/ML arXiv 25 Nov 2026 Method Prototype evidence Threat model

Published as “FlashProve-Next: Verifiable Inference for Production LLM APIs”

Why it matters

Enables publicly verifiable, zero-knowledge assurance that a closed-weight LLM API served the advertised model, but the high proving cost means it is currently practical only with sampled audits.

Summary

Zero false rejections were observed across 1.85 M GEMM/MoE blocks and 1.96 M non-GEMM rows, showing that FlashProve-Next can verify production LLM API responses without false alarms. The system produces a ZK proof for a 0.6 B-parameter model in 450.2 s on a GPU (10.76 s CPU) and a 30 B model in 1.49 s prove, 23.4 ms verify, but proving costs are >100× inference, so deployment relies on sampling only a small fraction of responses. Evidence comes from measurements on real Qwen3-0.6B/4B/30B checkpoints using NVIDIA RTX 4070TiS and RTX 6000D GPUs. The paper provides a Lean-4 formalization (28 modules, 696 declarations) and a Rust verifier, but the high overhead and reliance on probabilistic audit sampling limit practicality. The abstract and sections are fully present, so the summary reflects the given text.

What they found 2

  1. Zero false rejections across massive block counts

    “Five-model Blackwell calibration gives zero false rejections across 1.85M GEMM/MoE blocks and 1.96M non-GEMM rows.”

  2. Proof generation time for a 0.6B model

    “proves Qwen3-0.6B ExtSeed-153 (1.47B cells, 8 MiB) in 450.2 s GPU (10.76 s CPU) at uniquedecoding Q = 128, passes a 14/14 cheating matrix, and scales to 36-layer Qwen3-4B (dev 4 + 2) and live vLLM Qwen3-30B-A3B-FP8 Relation 6 (1.49 s prove, 23.4 ms Rust verify, public weight tiles).”

Caveats 4

  • Because single-stream Qwen3-0.6B ExtSeed-153 total prover time (569.8-571.0 s) is roughly 103× single-stream inference (5.54 s), keeping fleet-wide proving overhead within ≤100% of serving compute currently relies on probabilistic audit sampling (paudit ≤1%, proving 1% of pre-committed responses rather than every response).
  • FlashProve-Next does not protect against: (1) small tampering with output tokens or nudging of sampling after full compute was paid (fraction below ρ is not guaranteed to be caught)
  • FlashProve-Next does not protect against ... exotic cheats engineered against the proof system’s internal checks, such as zeroing a causal prefix at one layer so later layers are formally consistent (“prefix collapse”), or feeding all-zero operands so that downstream matrix products are trivially exact (“zero-operand padding”)
  • FlashProve-Next does not protect against ... sparse-attention savings whose output difference is below rounding scale: dropping attention keys with very low weight

What’s new here 4

  • Verifiable proofs for individual LLM API responses without modifying native floating-point serving.
  • A non-depleting Reed-Solomon weight commitment with hidden column openings for unbounded zero-knowledge.
  • Cost-weighted stratified spot-checking (NI-315, ExtSeed-153) enabling public, non-interactive verification.
  • Full Lean-4 machine-checked formalization of soundness, zero-knowledge, and per-operator rounding contracts.

Threat model stated by the source

Adversarythe provider (fully malicious, holds all weights, keys, and user data)
Capabilitycan choose any configuration, grind seeds, abandon/retry proofs, collude with tenants, and is untrusted; hardware vendors are also untrusted