TL;DR
When AI agents autonomously run experiments and revise hypotheses, it’s hard to tell whether a final "discovery" was genuinely confirmed on unseen data or just the lucky survivor of many hidden retries. EvidenceTree solves this by acting as a strict, auditable gatekeeper: it lets an AI agent explore freely, but locks held-out data behind a host-side wall until the agent formally registers its claim, and then tracks every piece of evidence in an append-only ledger.
What Problem Does This Paper Address?
Modern scientific AI agents—like AIDE, the AI Scientist, and AlphaEvolve—work in a loop: they propose hypotheses, write code, run experiments, inspect the results, and decide what to try next. Because later ideas depend on earlier outcomes, standard statistical tests break down.
Mathematicians have a tool for this adaptive world called e-processes (and e-values). Unlike traditional $p$-values, e-values let you peek at data sequentially, stop early, replicate experiments, and test new claims online. However, there is a catch: their mathematical guarantees only hold if you fix the exact test and error threshold before seeing the outcome, and if you never sweep inconclusive runs under the rug. In typical agent workflows, nothing enforces this discipline. EvidenceTree makes these statistical preconditions executable at the software boundary.
Methods
EvidenceTree separates the LLM investigator from the sealed data using typed Model Context Protocol (MCP) tools and a host-side provider interface. The statistical ingredients (e-values, alpha spending, and asynchronous e-LOND for online false discovery rate control) are established; the novelty is the systems architecture that enforces their rules:
- Compile (
Prepare): The agent submits a typedClaim(population, endpoint, hypothesis). A deterministic compiler checks it against the provider’sMeasurementContractandVerificationProtocol, lowering them into versioned intermediate representations (VerificationIRandEProcessIR). Incompatible plans are rejected before any data is touched. - Activate: The ledger assigns the claim an index and an error level ($\alpha_i$). If the agent is replicating an earlier claim, it reuses the same index, error level, and accumulated evidence.
- Collect: Only now does the host-side provider open the sealed resource and stream outcomes to EvidenceTree. The agent never sees the raw held-out data—only the updated $\log E$ value and whether the claim is supported.
Every step is written to an append-only ledger (events.jsonl) that can be strictly replayed and verified. Crucially, if a batch ends inconclusively, its $\log E$ stays in the running total—discarding it and restarting from scratch is not allowed.
Datasets
The authors evaluate EvidenceTree across three settings:
- All-null adaptive-search audit: A synthetic 8-way tree search over 5,000 seeds where every draw is a fair $\pm 1$ (meaning every claim is false, so any "support" is a false positive).
- Live integrations: 36 sessions on CausalGame (a drone-fleet simulator with 1,000 held-out drones) and 4 matched episode pairs on LLMServingSim (an LLM inference server simulator).
- Live hyperparameter search: A best-first search over an 840-point MLP grid on the Iris dataset, where every observation is a fresh pair of training runs, evaluated against an unseen 500-seed oracle across 150 matched episodes.
Key Insights and Ideas
- Forgetting inconclusive runs breaks the math: An e-process only protects you if you keep the bad news with the good. Resetting $E=1$ after a failed batch lets an agent keep rolling the dice until it gets lucky.
- Systems can enforce statistical hygiene: You don't need to trust an LLM to be honest about p-hacking if the tool boundary physically prevents it from seeing held-out outcomes before registration.
- Safety vs. power trade-off: Enforcing strict confirmation naturally makes the agent more conservative—it will pass up weak, noisy gains that an ungated search might accidentally stumble into.
Key Results
- All-null audit (Table 1): Discarding inconclusive evidence and restarting from $E=1$ inflated false support from 1.70% (0 retries) to 53.98% when retried to the budget. Retaining every terminal factor in EvidenceTree kept false support at 2.28% (well below the 5% target).
- Live hyperparameter search on Iris (Table 2): Promoting based on the pilot mean led to false support in 98.7% of runs, and a repeatedly peeked $z$-test failed in 27.3% of runs. EvidenceTree produced 0.0% false support across all 150 episodes (though its final true accuracy was 89.9% vs. 93.3% for the $z$-test, as it skipped weak gains).
- Live integrations: On CausalGame, 36/36 claims were fixed before simulation and replayed exactly over 20,322 ledger events (20 supported, 16 inconclusive). On LLMServingSim, EvidenceTree withheld all 4 selected claims (2 of which were actually null), whereas an ungated control would have published all 4.
Limitations and Future Work
EvidenceTree is a harness, not a mind reader: it cannot detect an agent's motives, choose the right statistical test, or verify that the host-side provider actually obeys the conditional-null assumption. It currently handles bounded scalar or Bernoulli outcomes for one-sided or equivalence claims. The Iris audit also used small networks and a myopic explorer. Still, by turning statistical preconditions into enforceable software contracts, EvidenceTree offers a practical blueprint for trustworthy, auditable AI science.
Summary updated