• 3 mins read
  • Published

FlashProve verifies AI outputs without exposing model weights

Noel Sharkeyl Editor Science.Report

Post by Noel Sharkeyl

FlashProve verifies AI outputs without exposing model weights Science.Report © science.report
FlashProve verifies AI outputs without exposing model weights © science.report

Anthropic's open-source prototype generates zero-knowledge proofs linking output tokens to a committed model. Tests on Llama 4 Maverick show fast proof generation, alongside high computing costs and a 1,024-token context limit

A proof for a 1,024-token request measures about 19 MB, while generating it consumes far more computing time than ordinary inference.

Anthropic's open-source FlashProve is a research prototype for checking whether a specific model generated a response. It is designed to let a provider demonstrate that link without disclosing the model's weights. The provider acts as the prover and the user as the verifier.

The system uses a zero-knowledge succinct non-interactive argument of knowledge, or zkSNARK. Before processing requests, a provider publishes a cryptographic commitment: a compact fingerprint binding it to one exact set of model weights. Given that commitment, the prompt and the response, a verifier can check a proof that the committed model produced the output tokens. The proof concerns how the response was generated; it does not establish that the answer is true or useful. Anthropic describes the protocol in its research announcement.

Anthropic tested FlashProve with Llama 4 Maverick, a 400-billion-parameter mixture-of-experts model using 4-bit quantization. On a single NVIDIA H100 GPU, it generated proofs at about 110 tokens per second. A proof for a 1,024-token request was approximately 19 MB. Verification took about 17 seconds on a 24-core CPU without a GPU.

The computational bill is substantial. Anthropic reports that proof generation uses about 70 to 95 times the GPU time required by vLLM, an open-source inference engine, to process prompts of the same length. The full-size example uses one H100 with 80 GB of GPU memory and calls for roughly 245 GB of disk space and up to 330 GB of host memory; the documented peak observed memory use is about 310 GB. Its workflow includes downloading and checking model files, creating a calibration set, generating a commitment and producing the proof.

The prototype supports a 1,024-token context and demonstrates a proof for the token following a request containing 1,024 token IDs. It proves an integer version of the model under greedy decoding; it does not yet cover every floating-point or sampled inference result. FlashProve also hides weights rather than the model architecture. In one full-size synthetic demonstration, the model retains Maverick's shape-48 layers and 128 routed experts-but uses generated weights, not the actual model weights.

These constraints limit what the system can verify today, but the proposed use is clear: a customer could check whether a provider served the selected model instead of a cheaper substitute. Anthropic also points to possible checks on response tampering and independent evaluations. Amazon's Physical AI Toolchain addresses a different problem, linking simulation workflows to robot deployment; an earlier robotics toolchain report covered that approach.

Anthropic released FlashProve's executable code, technical report, protocol specification and formal verification proofs under the Apache 2.0 licence. The FlashProve repository describes the project as a research prototype and provides the implementation and examples.

Related articles