cs.AINov 26, 2026

Natural-Language Zero-Knowledge Verification via Skeptical MCP Tools

Authors: Md Nazrul Huda Shanto, Paritosh Ramanan

Organizations: Oklahoma State University, Stillwater, OK, USA

Abstract

Zero-knowledge proofs enable verifying computation without revealing the underlying datasets. Recent studies have demonstrated the practicality of such frameworks for critical application domains such as healthcare. However, analyzing large scale chained proof artifacts introduces challenges in interpretability and usability barriers for non-expert stakeholders which can potentially be resolved using LLM based tools. On the other hand, using MCP tools with LLM integrations introduces a new risk pertaining to correctness of parameters supplied during the proof generation and verification lifecycle. In this paper, we present a natural-language interface to zero-knowledge verifiable computation that is based on the Model Context Protocol (MCP). We introduce a skeptical tools approach that does not place implicit trust in model inputs, but leverages server-side state estimates for checks, validations and completions pertaining to user queries. Using large-scale experimental evaluations across three open-weight model families involving 6000 queries, we demonstrate that our skeptical approach raises task completion rates by up to 23% over conventional methods settling at 93% across for Qwen family of models. Our results ultimately yield concrete, quantified insights into the occurrence of correctness failures, fabrication, and privacy exposures at the interface between LLM agents and zero-knowledge proof systems.

Figures & tables

Explore similar work

Nov 25, 2026

FlashProve-Next: Verifiable Inference for Production LLM APIs

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, ε≤2−40\varepsilon \le 2^{-40}, Q≤264Q \le 2^{64}) and external-seed C_pre mode (ExtSeed-153, ε≤2−20\varepsilon \le 2^{-20}, Qsamp≤230Q_{\rm samp} \le 2^{30}). Twenty-eight Lean 4 modules (696 declarations, zero sorry, standard axioms only) mechanize round-by-round soundness, bucketed sampling, Fp3\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=128Q=128, passes a 14/14 cheating matrix, and scales to 36-layer Qwen3-4B (dev 4+24+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.
Mar 17, 2026

NanoZK: Privacy-Preserving Verifiable Inference for Large Language Models via Layerwise Zero-Knowledge Proofs

We present NanoZK, a zero-knowledge proof system for verifiable LLM inference: clients and third-party auditors check that a provider executed the advertised model on a committed input without learning weights or activations. NanoZK introduces a layerwise proof framework that decomposes transformer inference into independently provable layers linked by a SHA-256 commitment chain, yielding constant-size sub-circuit proofs (3.5-3.7 KB; about 83 KB total at L=12), comparable in total size to and substantially more parallelizable than prior ZKML's monolithic 101-126 KB proofs. We prove compositional soundness and zero-knowledge under standard assumptions, design 16-bit lookup-table approximations for softmax, GELU, and normalization with measured perplexity degradation below 1e-4 across six model/dataset combinations, and add a Fisher-information-guided audit-budget triage as an efficiency tool (full soundness still requires verifying every layer). On CPU the MLP sub-circuit proves in about 6.3 s prove-only (about 43 s setup plus prove) with about 22 ms verification at any width; attention prove-only time scales from 0.9 s (d=16) to 184 s (d=256); full-block end-to-end proofs are measured to d=128, with a projected GPU time of about 68 s per block at d=768 from measured O(d^2) MSM scaling and a conservative 15-30x GPU-MSM speedup range based on Icicle's published 30x result for n >= 2^20 and extrapolated to the smaller-n regime. Privacy scope: NanoZK hides weights and activations from verifiers and auditors but does not hide the prompt from the prover; this is complementary to HE/MPC.
Nov 22, 2026

Ziv Meets Sumcheck: Zero-Knowledge Proofs of Floating-Point LLM Inference

Zero-knowledge proofs can show that a neural network produced a given output without revealing the network, but current systems for language models prove integer approximations of the model rather than the floating-point arithmetic that is actually deployed. Proving floating-point matrix multiplication has been regarded as hard, because rounding after every addition makes the result depend on the order of the additions. We avoid this obstacle by proving the correctly rounded product, in which every dot product is computed exactly and rounded once. This result is independent of the hardware and at least as accurate as standard kernels. We give an interactive proof for this relation whose cost is close to that of integer matrix multiplication, with roughly a thousand times fewer committed values than per-operation floating-point circuits need constraints, extend it to every layer of a transformer, and give a privacy construction for the complete argument whose zero knowledge we prove under explicit hypotheses. We implement the system and prove the full forward pass of GPT-2 small, including all twelve blocks and the output over the whole vocabulary, in 19 minutes on two processor cores; verification takes 21 seconds. The verifier rejects all 236 attacks we tested, and the model's outputs agree with high-precision inference at least as closely as standard 16-bit inference does.