Anthropic Open‑Sources FlashProve: Cryptographic Proofs for MoE Model Inference
What Happened — Anthropic’s Frontier Red Team, together with researchers from EPFL, MIT and StarkWare, released FlashProve, a prototype that can generate a cryptographic proof that a particular language‑model reply originated from a specific model instance. The full implementation—prover, two verifiers (a fast C++ verifier for production use and a reference Lean verifier), formal proofs of completeness, soundness and zero‑knowledge properties, plus a protocol specification—has been placed on GitHub under the Apache 2.0 license.
The problem FlashProve addresses is the lack of verifiable provenance for AI‑as‑a‑service. When a client sends a prompt to a hosted API, the provider could silently route the request to a cheaper model, or an insider could tamper with the token stream, and the client would have no way to confirm which model actually generated the response. Conversely, external auditors evaluating a model’s behavior cannot be certain the model under test is the same one being served. FlashProve supplies a proof‑of‑inference that can be checked by any party, establishing a cryptographic link between the model weights, the prompt, and the generated output.
The repository contains three executables:
- Prover – runs on the inference server, commits to the model weights once, then produces a per‑request proof that the reply was generated by those weights.
- Fast C++ verifier – intended for day‑to‑day verification by clients; it checks the proof in seconds.
- Lean verifier – a slower, formally verified reference implementation that validates the soundness theorem and serves as a proof‑assistant baseline.
Anthropic warns that the three artifacts (the research paper, the Lean protocol, and the production code) are not guaranteed to be perfectly aligned. Users must manually reconcile the Lean statements with the C++ implementation; the repository includes an interactive visualizer to aid this process. The prover itself is not formally verified, so its correctness must still be audited by traditional means.
FlashProve was demonstrated on Llama 4 Maverick, a 400‑billion‑parameter Mixture‑of‑Experts (MoE) model. The model weights are not shipped; users must obtain them from Hugging Face under Meta’s license. Running the prover requires a single 80 GB GPU with about 290 GB host memory. Only the active ~17 billion parameters per token are streamed, keeping memory use modest.
Performance numbers on an NVIDIA H100 GPU with 24 CPU cores:
- Throughput – ~110 tokens / second.
- Proof size – a 1,024‑token request yields an 18.78 MB proof.
- Verification time – ~17 seconds on 24 CPU threads (≈21 seconds on a single thread).
- Commitment step – the one‑time weight commitment takes ~39 minutes per model and then supports roughly 16 million inference requests.
Clients download a 6.5 MB commitment file plus one proof per request. Compared with a baseline vLLM deployment (FP8 on eight H100s), FlashProve adds roughly 72× computational overhead per GPU under normal load and 94× at the heaviest tested load.
Anthropic’s release includes a short “IT and security field guide to AI adoption” and links to the GitHub repo, the research paper, and the visualizer. No immediate commercial product is announced; the prototype is positioned as a research‑grade tool for organizations that need provable AI inference, regulators demanding model provenance, or third‑party auditors assessing AI service contracts.
Why It Matters for Trust & Control Assurance – FlashProve directly supports the control objective of AI model provenance and integrity verification, a key pillar of AI governance frameworks. By providing cryptographic evidence of which model generated a response, organizations can map this capability to multiple standards (e.g., NIST AI RMF, ISO 42001) with a single control implementation.
Who Is Affected – AI service providers, enterprises integrating large‑scale LLMs, regulated sectors (finance, healthcare, government) that must demonstrate model integrity, and third‑party auditors.
Recommended Actions –
- Map the “provable inference” control to your AI governance objectives (e.g., NIST AI RMF Governance and Risk Management functions).
- Pilot FlashProve on a non‑production model to collect evidence of proof generation and verification latency.
- Incorporate proof‑verification logs into your continuous monitoring pipeline to create defensible audit artifacts.
Source: Help Net Security
Technical Notes – FlashProve uses a custom cryptographic protocol with zero‑knowledge properties; the Lean verifier formally proves soundness. No CVEs are disclosed. The prototype runs on a single H100 GPU, requires ~290 GB host RAM, and produces ~18 MB proofs for 1k‑token outputs.