- The paper presents a sequential hypothesis testing method using a betting-based e-process to validate candidate modifications in evolving agents.
- It demonstrates that PACE achieves 0% false commits in controlled tests, with significantly lower variance and an 18% reduction in evaluation cost compared to greedy methods.
- The approach provides anytime-valid statistical guarantees, ensuring stable self-improvement and reducing performance drift in autonomous agents.
PACE: Anytime-Valid Acceptance Tests for Self-Evolving Agents
Background and Motivation
The paper "PACE: Anytime-Valid Acceptance Tests for Self-Evolving Agents" (2606.08106) addresses the failure mode in self-evolving agent architectures where the modification acceptance mechanism is governed by an unexamined heuristic: typically, retaining a change if a small held-out set yields an improved score. This approach constitutes uncontrolled adaptive multiple testing on reused noisy estimates, resulting in chronic false acceptance of modifications. The agent is prone to "p-hacking," accumulating changes that by chance appear beneficial but ultimately degrade true performance. Despite advancements in proposer methodologies—such as prompt rewriting, skill induction, and workflow restructuring—the acceptor remains neglected, limiting reliable agent self-improvement.
PACE: Methodology
PACE (Paired Anytime-valid Commit Evaluation) reframes the acceptance decision as a sequential statistical hypothesis test rather than a naive empirical comparison. Candidate modifications are evaluated against the incumbent configuration on identical instances via a paired test, akin to McNemar, isolating discordant pairs (cases where candidate and incumbent diverge in correctness). The core innovation is using a testing-by-betting e-process that incrementally accumulates evidence of superiority, governed by Ville's inequality and martingale properties. Acceptance occurs when the betting process's wealth exceeds 1/α, enforcing a user-defined false-commit probability α per candidate, valid at any stopping point (anytime-validity). This method requires no retraining, is proposer-agnostic, and interfaces simply through paired correctness outcomes.
Empirical Evaluation
Experiments are conducted on Qwen2.5-Instruct agents (0.5B–3B parameters) evolving prompts for three tasks: GSM8K, SVAMP, and ARC-Challenge. Evaluation paradigms include:
- Controlled Regime: A known harmful instruction is embedded, with the proposer tasked to discover its removal amid noise. PACE consistently commits only the genuine gain (0/5 false commits), matching greedy's accuracy but with significantly reduced variance and ~18% lower evaluation cost.
- Stochastic Regime: The agent is sampled at temperature 0.7, with no real improvement available. Greedy commits 13-21 self-modifications per run (up to 100% false), causing up to 4.9 points degradation in fragile agents, while PACE rejects all noise-driven modifications and preserves baseline accuracy.
Sensitivity sweeps across α and dev set size n reveal PACE's robustness. Across a 10x range in α and a 4x range in n, the gate retains the real improvement at 0% false commits, whereas greedy consistently accumulates 33-53% false accepts. Additional tests on SVAMP and ARC-Challenge reaffirm the generality: PACE maintains its precision and screening power across domains and model scales.
Implications and Theoretical Consequences
PACE delivers a formal per-candidate guarantee on false-commit probability, correcting the critical statistical pathology of adaptive multiple testing in self-evolution loops. This stands in contrast to the run-level familywise error, with implications for loop stability—false-acceptance suppression directly translates to lower churn and performance drift. The method is proposer- and loop-agnostic, only requiring outcome pairs, and is therefore applicable to broader self-modification regimes (prompt, code, skills, workflows), though full cross-system validation remains prospective.
Practically, PACE offers heightened reliability for autonomous agents under resource-constrained, noisy evaluation, and its incremental testing decreases evaluation cost without sacrificing precision. The trade-off is reduced recall for marginal improvements—a consequence dictated by anytime-validity and evidence strength, which is tunable via α and evaluation budget. The method's limitations relate to evaluation coverage: improvements unseen by the dev set cannot be certified.
Future Directions
PACE opens avenues for integrating anytime-valid statistical gates into broader self-modifying agents, especially in settings where incrementality and automation necessitate rigorous control of hypothesis-testing error. Extensions may explore richer candidate evaluation metrics, broader proposers, and alternative e-process calibrations for balanced recall/precision. System-level generalization to complex agent topologies and external validation in third-party frameworks is a key area for subsequent work.
Conclusion
PACE offers a principled solution to the statistical weakness in the self-evolution loop of autonomous agents, enforcing an anytime-valid per-candidate false-commit bound and empirically suppressing spurious and harmful acceptance events. Its simplicity, reliability, and generalizability make it an essential tool for stable agent self-improvement, highlighting the critical importance of rigorous acceptance decision-making alongside proposer innovation.