Machine Learning PapersLandmark papers
← All papers
RESEARCH PAPER / 2026-10-22

Lifetime-valid decisions by continually evolving AI analysts

Xiaojing Sun, Yuhan Zeng, Xiao Wang

Purdue University +2 · arXiv

Affiliations: Purdue University, Anthropic, Lilly Purdue Innovation Institute

Abstract

AI agents increasingly act as analysts whose decision can often be cast as hypothesis tests. Classical tests control the Type I error rate, the probability of rejecting a true null hypothesis, for fixed procedures. However, AI analysts introduce internal randomness and can evolve continuously over time. As AI analysts evolve, the risk of approving versions with Type I error rates above the target can accumulate, and adaptive use of evaluation feedback can lead to overfitting. We introduce continual validation, which evaluates each proposed AI analyst version before deployment using simulated data under the null hypothesis, with scenarios that can be randomized and expanded over time. We prove that, regardless of how updates are chosen or how many are proposed, the lifetime probability of ever deploying a version whose Type I error rate exceeds the allowed level remains bounded. This guarantees that every subsequent decision controls the Type I error rate at the target level across these scenarios. At the same time, updates with sufficiently low Type I error rates pass validation with high probability, allowing the analyst to continuously improve its performance without sacrificing rigor. In two examples involving evolving AI analysts for bioequivalence studies and product A/B tests, Type I error rates reached 0.098 and 0.183 without continual validation, compared with at most 0.045 and 0.044 with it, while retaining 82% and 96% of the power from optimally selected valid updates.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The paper proposes a rigorous statistical framework, "continual validation," that guarantees Type I error control for AI agents that evolve over time by using sequential hypothesis testing with a lifetime error budget. By proving that the probability of deploying an invalid version remains bounded regardless of the number of adaptive updates, the work addresses a critical safety gap in the deployment of self-improving AI analysts, offering a practical method to maintain statistical rigor while allowing for continuous improvement in power and automation.

Methodology

The paper introduces "continual validation," a framework for controlling Type I error in evolving AI agents. The core innovation is the use of sequential hypothesis testing with a lifetime error budget. By freezing each proposed version, simulating null data, and using exact binomial confidence bounds with a shrinking error budget ($\alpha_r$), the authors prove that the probability of ever deploying an invalid version remains bounded. This addresses the "garden of forking paths" problem in adaptive AI systems. The theoretical contribution is solid, leveraging standard statistical tools (Clopper-Pearson bounds, union bounds) in a novel context of agent evolution. The "allowed paths" proposition is a clever practical addition that reduces computational cost by validating deterministic decision rules rather than stochastic LLM outputs.

Results & evaluation

The experiments are rigorous and well-motivated. The authors test the framework on two distinct domains: bioequivalence studies (pharmacokinetics) and product A/B testing. They compare continual validation against four baselines: no validation, static benchmark, improvement test, and Learn-then-Test. The results clearly demonstrate that without continual validation, Type I error rates inflate significantly (up to 0.78 in one case), while continual validation keeps them below the target (0.05) while retaining high statistical power (82-96% of oracle). The inclusion of off-grid scenarios to test robustness is a strong point, showing the method generalizes beyond the specific validation grid.

Reproducibility

The paper provides detailed algorithmic descriptions and specifies the exact statistical bounds used. The use of open-source tools (GrowthBook) and public LLMs (Claude, Qwen, DeepSeek) enhances reproducibility. However, the specific prompts and internal logic of the "developer" agent are not fully detailed, which might make exact replication of the evolutionary trajectories difficult, though the statistical guarantees hold regardless of the specific updates proposed.

Limitations

The primary limitation is the reliance on the ability to simulate null scenarios. If the null hypothesis space is complex or hard to simulate, the method's applicability is limited. Additionally, the computational cost of simulating $m_r$ datasets for each update can be high, although the "allowed paths" optimization mitigates this. The guarantee is strictly for the simulated scenarios; while robustness is shown empirically, there is no formal guarantee for unobserved data distributions.

Broader impact

This paper has significant implications for the deployment of AI agents in high-stakes domains like healthcare and finance. As AI agents become more autonomous and self-improving, the lack of statistical guarantees for their decisions is a major barrier to adoption. This work provides a rigorous framework to ensure that AI analysts do not inflate error rates as they evolve, potentially becoming a standard protocol for validating AI-driven statistical decisions. It bridges the gap between classical statistical theory and modern adaptive AI systems. The paper proposes a rigorous statistical framework, "continual validation," that guarantees Type I error control for AI agents that evolve over time by using sequential hypothesis testing with a lifetime error budget. By proving that the probability of deploying an invalid version remains bounded regardless of the number of adaptive updates, the work addresses a critical safety gap in the deployment of self-improving AI analysts, offering a practical method to maintain statistical rigor while allowing for continuous improvement in power and automation.

Author of this paper? Send a correction.