Anthropic FlashProve — 给 AI 回答贴「防伪码」,中转站要凉?
- URL: https://mp.weixin.qq.com/s/HzodiK90DwWZbqvIuTELKQ
- Date Saved: 2026-11-09
- Source: WeChat (程序员鱼皮)
- Tags: ai-engineering, security-privacy
- Repo: https://github.com/anthropics/FlashProve (⭐976, “Not maintained” research prototype)
Summary
程序员鱼皮 explains Anthropic’s newly open-sourced FlashProve — a zero-knowledge proof (zkSNARK) system that lets anyone verify whether an AI response was genuinely generated by a specific model, without seeing the model weights.
How It Works (3 Steps)
- Commitment — Model provider computes a “fingerprint” (commitment ID) of the model weights and publishes it. Even tiny weight changes break the fingerprint.
- Proof — For each response, the GPU generates an additional proof file showing the response matches the committed weights.
- Verification — User verifies on a regular CPU in ~10 seconds. No model weights needed.
Why It Matters
- Proxy站 (中转站) fraud: You pay for Claude Opus, they secretly route to a cheaper model. FlashProve would catch this.
- Silent model downgrades: When users complain “Claude got dumber”, the provider can’t prove they didn’t change the weights. FlashProve fixes this.
- Distillation detection: A distilled copycat model can’t produce valid proofs for the original model’s commitment ID.
Performance (vs prior zkSNARK approaches)
- On Llama 4 Maverick (400B params): 110 tokens/sec on a single H100 (batch of 24 requests)
- Proof file: ~19MB per 1024-token request (vs 93.6GB before — thousands of times smaller)
- Verification: ~10 seconds on regular CPU (vs nearly a day before)
- BUT: each proof currently only verifies 1 token per response
- Proof generation cost: 70-95x normal inference
Hands-on Test
Author used DeepSeek Harness to compile the verifier and test with the bundled synthetic-weight example:
- Original proof → verified YES ✓
- Tampered response (changed token 199→200) → rejected NO: reply-differs ✗
- All 10 official tampering tests (bit-flip proof, altered commitment ID, etc.) → all caught
Current Limitations
- Research prototype only — repo explicitly says “not maintained, not accepting contributions”
- Only tested on Llama 4 Maverick, max 1024 tokens context
- Anthropic has no plans to deploy it on Claude yet
- Users must get commitment ID from a trusted source (not the proxy itself)
- 70-95x compute overhead makes production deployment expensive
Key Insight
Much of the optimization was done by Claude itself, and the protocol specification was written by Claude. But since human review of AI-written code at scale is impractical, they used Lean (formal verification language) to prove core security properties mathematically — though the actual C++ and CUDA code is only verified by testing against the Lean spec.