跳到正文
arXiv cs.AI· Liang Song·· 56 分钟前AI 评分44

FlashProve-Next:面向生产级 LLM API 的可验证推理

FlashProve-Next: Verifiable Inference for Production LLM APIs

AI 导读

FlashProve-Next 为闭源 LLM API 的单次响应生成可验证、零知识掩码证明,无需修改 bf16/fp8/mxfp4 原生推理服务,也不泄露权重、隐藏提示词和推理过程。

正文 · 原文

View PDF HTML (experimental)

Abstract:Clients of closed-weight LLM APIs cannot verify whether a provider ran the advertised model, precision, hidden prompt, and reasoning budget. Existing approaches either trust hardware or third parties, or re-prove every layer of an integer surrogate at high cost while diverging from native floating-point serving.
FlashProve-Next produces verifiable, zero-knowledge-masked proofs for individual LLM API responses without modifying native serving (bf16/fp8/mxfp4, random sampling, FlashAttention, CUDA graphs, batching, prefix caching) and without disclosing weights, hidden prompts, hidden reasoning, or activations (dense profiles fix coarse geometry; cross-architecture hiding is deferred). A non-depleting Reed-Solomon weight commitment model_id opens inside proofs via hidden column openings, while local per-operator rounding contracts remove integer surrogates and the refusal-bit leak. Cost-weighted spot-checking supports non-interactive public verification (NI-315, $\varepsilon \le 2^{-40}$, $Q \le 2^{64}$) and external-seed C_pre mode (ExtSeed-153, $\varepsilon \le 2^{-20}$, $Q_{\rm samp} \le 2^{30}$).
Twenty-eight Lean 4 modules (696 declarations, zero sorry, standard axioms only) mechanize round-by-round soundness, bucketed sampling, $\mathbb{F}_{p^3}$ constrained-mask binding, causal masking, six IR gadgets, and executable FPN2 verifiers. Five-model Blackwell calibration gives zero false rejections across 1.85M GEMM/MoE blocks and 1.96M non-GEMM rows. Our zero-Phase-2 folded backend (folded ZK simulator open) proves Qwen3-0.6B ExtSeed-153 (1.47B cells, 8 MiB) in 450.2 s GPU (10.76 s CPU) at unique-decoding $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). Rust fpn-verify checks 8 MiB FPN2 Relation 2 proofs in 10.1 ms on CPU.
Comments: 36 pages. Code, 11 specifications, 28 Lean 4 modules, Rust verifier, and GPU benchmark receipts: this https URL
Subjects: Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2611.33741 [cs.CR]
  (or arXiv:2611.33741v1 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2611.33741

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Liang Song [view email]
[v1] Wed, 25 Nov 2026 04:01:37 UTC (61 KB)

来源:arXiv cs.AI · arxiv.org