Can AI Agents Simulate A/B Test Outcomes? A Validation Framework for Agentic Experimentation

Stefan Hut, Lorenzo Masoero
8/3/2026
cs.CLcs.AIstat.AP

No confident code implementation found for this paper.

Abstract

A/B testing remains the standard for rolling out new features in the technology industry. Each experiment, however, consumes real traffic, engineering effort, and weeks of wall-clock time.

Show full abstract

Can AI agents---conditioned on behavioral profiles and contextual descriptions of the intervention---simulate outcomes accurately enough to vet candidate treatments before committing live traffic? We formalize this question as a \emph{Simulated Randomized Controlled Trial} (S-RCT) and derive a two-layer error decomposition that separates agent approximation error from subsampling error, enabling targeted improvements to each. The framework is agent-agnostic: any behavioral model---from a fine-tuned specialist to a general-purpose foundation model---can serve as the simulation engine. Validated on 67 historical marketing A/B tests, a baseline S-RCT using an off-the-shelf foundation model captures directional signal (sign overlap 0.70) but systematically overshoots effect magnitudes. A two-phase pre-period calibration protocol reduces the squared prediction error (after removing irreducible measurement noise) by ${\sim}77\times$; a within-subject design---where each agent is exposed to both arms---reduces standard errors by ${\sim}2.4\times$. We discuss limitations of the current approach and identify applications where experimenters stand to benefit from agentic signals.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hut2026agents,
  title  = {Can AI Agents Simulate A/B Test Outcomes? A Validation Framework for Agentic Experimentation},
  author = {Stefan Hut and Lorenzo Masoero},
  year   = {2026},
  eprint = {2608.02345},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.02345v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.02345.svg)](https://codeofpaper.com/paper/2608.02345)

Discussion