Faraday AI代理开源:92.3%高保真复现ML论文,超越Claude与GPT-4

Inherent Faraday AI Agent Outperforms Claude & GPT-4 at Paper Replication — What It Means for AI Developers
Inherent, a UK-based AI lab founded by DeepMind alumni, just open-sourced Faraday — an AI agent that replicates published ML research papers end-to-end with 92.3% fidelity on the Reproducibility Benchmark v2, beating GPT-4o (84.1%), Claude 3.5 Sonnet (81.7%), and even Anthropic’s internal research assistant (79.5%). Faraday doesn’t just summarize or explain papers — it reads PDFs, extracts equations and pseudocode, reconstructs training loops in PyTorch, validates hyperparameters against original logs, and ships runnable .py + requirements.txt bundles. For AI developers, this isn’t incremental progress — it’s a new baseline for trustworthy technical replication.
How Faraday Actually Works (No Abstraction)
Faraday is not a fine-tuned LLM wrapper. It’s a modular agent stack built around three tightly coupled components:
- PDF→Code Graph Parser: Uses layout-aware vision-language modeling (ViT-L/14 + custom token alignment) to preserve equation structure, figure captions, and table metadata — critical for catching subtle bugs like swapped learning rate schedules in Figure 3b of “Attention Is All You Need”.
- Constraint-Aware Code Generator: Runs a dual-decoder architecture: one branch generates Python logic; the other emits SMT-LIB constraints over tensor shapes, gradient norms, and loss convergence thresholds — then verifies feasibility via Z3 before emitting code.
- Validation Orchestrator: Launches lightweight Docker sandboxes (no GPU required) to run 50-step training traces, compares loss curves against original arXiv JSON logs (scraped and cached), and flags mismatches >3σ — all in <90 seconds per paper.
This isn’t “AI doing science.” It’s AI enforcing reproducibility as a runtime contract.
Why Beating GPT/Claude on Replication Matters More Than Benchmarks
Most LLMs fail replication not from lack of knowledge — but from silent hallucination of implementation details. GPT-4o misinterprets “warmup steps = 4000” as linear warmup when the paper uses inverse-square-root; Claude 3.5 drops weight decay from AdamW because its training corpus conflates PyTorch and JAX defaults. Faraday avoids this by never generating code without constraint grounding. Its 92.3% score comes from rejecting 17% of papers outright when validation fails — a feature, not a bug. For developers, this means:
- No more debugging “why does my ResNet-50 train slower than the paper?” for 3 days
- Real-time diffing between your fork and the reference implementation
- Automated PR checks that block commits violating original training stability bounds
That’s production-grade guardrails — not demo-stage polish.
Immediate Use Cases for Practitioners (Not Just Researchers)
Faraday is already usable today — no invite, no waitlist. The CLI tool faraday clone accepts arXiv IDs or PDF paths:
faraday clone arXiv:2307.09288 --target torch --validate --output ./llama2-repro It outputs:
train.pywith exact optimizer state dict loading (includingbetas=(0.9, 0.999)andeps=1e-8)config.yamlmirroring the paper’sbatch_size=2048,seq_len=2048,init_std=0.02validation_report.mdshowing cosine similarity of final layer gradients vs. original (0.992), and epoch-10 loss delta (±0.004)
Teams at Hugging Face and EleutherAI are using it to auto-generate test suites for transformers model cards. At a UK biotech startup, Faraday cut paper-to-prototype time for protein-folding variants from 11 days to 37 minutes — including data loader reconstruction from ambiguous “processed PDB” descriptions.
👉 Binance · OKX · Gate.io · HTX · Bitget
Where This Fits in the AI Agent Stack (and Why OpenClaw Users Should Care)
Faraday sits squarely in the verification layer of the AI agent stack — below reasoning agents (like OpenClaw’s planning core) but above raw LLM inference. Unlike OpenClaw’s focus on multi-step task decomposition, Faraday specializes in single-task integrity enforcement. That makes them complementary: you can chain them. Example workflow:
openclaw plan "Benchmark Llama-3-8B on MMLU with flash attention"faraday clone arXiv:2310.06825 --target torch --flashopenclaw execute --on-cluster ./faraday-output/train.py
Inherent open-sourced Faraday’s parser and validator modules under Apache 2.0 — meaning OpenClaw contributors can drop in faraday.validate() as a built-in assertion in any agent step requiring numerical correctness.
What Comes Next? Not Bigger Models — Better Contracts
Inherent’s roadmap isn’t about scaling Faraday’s parameters. It’s about expanding the validation surface: CUDA kernel correctness (via Triton IR introspection), memory footprint guarantees (<2% deviation from paper-reported VRAM), and cross-framework parity (JAX → PyTorch → ONNX). Their next release, due Q3, adds intent-aware patching: if validation fails, Faraday proposes minimal diffs — e.g., “change torch.nn.Linear(4096, 4096) to torch.nn.Linear(4096, 8192) to match hidden_dim in Table 2” — instead of regenerating everything.
For developers: stop treating papers as documentation. Treat them as executable specifications. Install Faraday (pip install faraday-ai), run it on your last implemented paper, and compare the diff. If your version diverges in >3 places, that’s not your fault — it’s the field’s debt. Faraday just gave you the first real tool to collect it.
相关阅读