CODE@MIT 2026: Reflections and Takeaways
AI currently looks more promising for making experiments more efficient than for replacing them. Our takeaways from CODE@MIT 2026 and an overview of what Spotify presented.

AI is changing how quickly we build products. But can it also change how we evaluate them? Could synthetic users, LLM judges, and offline evals eventually tell us what works without running experiments on real users?
At this year's CODE@MIT conference, researchers presented both promising ways to make experiments more efficient using AI and evidence of how difficult it remains to simulate human behavior.
One study found that LLM shopping agents bought two to three times as often as real customers, though they did get the relative price sensitivity across product groups roughly right. In our own research at Spotify, a decision rule designed to identify when offline evals could safely replace A/B tests recommended running the A/B test for all 183 changes studied.
Our main takeaway is that AI currently looks more promising for making experiments more efficient than for replacing them altogether.
Spotify and Confidence were in Boston with two talks, two posters, and a panel. Here are our takeaways from the conference and an overview of what we presented.
Spotify's contributions
When can you ship on evals alone? (talk)
Authors: Mårten Schultzberg · arXiv
Offline evals justify skipping an A/B test only when their effects reliably predict effects on real users across many comparable changes. Agreement between an LLM judge and human labels is not enough. Learning that relationship is hard, because both eval and online effects of past changes are noisy. The paper proposes a gate that ships, kills, or sends a change to an A/B test while bounding the risk of harm, and that routes more changes to A/B tests the weaker the eval-to-online link.
Applied to 183 public headline experiments, an LLM judge that rated headlines very consistently still did not predict their click-through effects, and the gate sent every change to an A/B test. Two more warnings came out of the work. An LLM judge that reacts differently to the treated arm's style can flip the sign of a real improvement. And a team that stops testing cannot notice when its evals stop working, so a small share of would-be ships should still be randomly A/B tested.
Logging policy design for off-policy evaluation (talk)
Authors: Connor Douglas, Joel Persson, Foster Provost · arXiv
Off-policy evaluation estimates how a new policy, such as a recommender, would perform using data logged under a different, randomized policy. Most work takes the logging policy as given and builds better estimators. This paper instead asks how to randomize so that future policies can be evaluated accurately. On Spotify Home, a stochastic top-k logging policy gave estimates about an order of magnitude more accurate per impression than uniform randomization.
Statistical foundations of LLM-based A/B testing (poster)
Authors: Joel Persson, Mårten Schultzberg, Sebastian Ankargren · arXiv
What has to be true for an experiment on LLM responses to tell us something about the effect on humans? Requiring the LLM to behave like humans is unrealistic and also stronger than needed. If LLM outcomes are treated as surrogates for human outcomes and calibrated against them, two weaker conditions suffice, surrogacy and comparability. Averaging several LLM draws per unit, rather than using a single draw, protects the estimate from being attenuated due to sampling noise in the LLM outcomes. On the Upworthy Research Archive, raw LLM predictions recover only 39% of the human treatment effect, and calibration closes the gap.
Beyond the average treatment effect (poster)
Authors: Tracy Zhang, Mårten Schultzberg
Treatment effects often change during an experiment, but platforms usually report one average. A declining effect may reflect novelty wearing off or an external change during the test, and the two call for different decisions. Two Spotify experiments with similar effect curves illustrate the risk: one reflected exposure-driven user dynamics, while the other was produced by an external change. A detector that considers only the curve's shape would classify them similarly, but interpreting both as user dynamics would be wrong in one case. Comparing cohorts first exposed on different dates can help diagnose which explanation better fits the data. This distinction affects how teams interpret an experiment's results and whether they decide to ship.
Panel
Panelists: Amy Hartwig (Microsoft & GitHub), Jessie Li (OpenAI), Mårten Schultzberg (Spotify), and Winston Chou (Netflix). Moderated by Dean Eckles (MIT).
The panel discussed how AI is changing both what companies experiment on and how they analyze experiments. The discussion considered the trade-off between relying on LLMs to apply complex statistical methods correctly and embedding quality controls and decision rules in purpose-built tools. The group generally favored giving AI agents access to vetted, deterministic tools (software that performs approved calculations consistently) rather than asking the LLM to reproduce every method itself. Three panelists had also participated in Netflix's CIDER roundtable on experimentation and causal inference, and several of the same themes appear in the roundtable's summary paper.
Our takeaways
The role of LLMs, synthetic users, and evals in experimentation
More and more companies and researchers are investigating what we can do with LLMs to speed up or increase efficiency of their evaluation. There are two main tracks.
- Replace A/B tests with LLM-based substitutes, like synthetic users, personas, or offline evals.
- Augment human data in A/B tests to make the A/B tests more efficient.
The general tendency seems to be towards the second, augmenting human data in various ways.
Replacing A/B tests
LLM agents react more strongly than real users, and offline evals and A/B tests measure different things.
Stefan Hut and Lorenzo Masoero (Amazon) compared simulated A/B tests with 67 real ones and found that an off-the-shelf model systematically overshot effect sizes. Tobias Huelden and Hisham Gath (Zalando) found that LLM shopping agents bought two to three times as often as real customers and were less price sensitive.
Hannah Li (Columbia) showed that the estimands that offline evals capture and that online experiments capture can be quite different. In a conversation, a model's replies change what users ask next, so in an A/B test each model is judged on its own mix of prompts, unlike a fixed benchmark. A model that is better on every type of prompt can still lose the A/B test.
This has direct implications for our talk in the same session, which asked when offline evals can replace an A/B test altogether (described in Spotify's contributions above). Evals and online experiments targeting different estimands might be one reason why it is hard to get offline and online results to align.
We have also written about using offline evaluation as a first filter rather than as the final decision in A/B Test Bandwidth: The Currency of Innovation.
Robin Na (MIT) and coauthors from Stanford and Google DeepMind studied how to build personas that still match human behavior in experimental designs the model has never seen, by learning profiles on past experiments and validating them on new ones.
Augmenting human data
Within the augmentation space there are a few interesting avenues being explored.
Use LLMs to predict human outcomes and use these predictions as covariates in variance reduction. This has been proposed before, and seems to be a promising, low-risk way of improving online experiments with LLMs. If your synthetic outcomes are perfect, your variance reduction could go towards 100%. If they aren't perfect you haven't lost anything (beyond a degree of freedom in the regression inference).
Change the task from predicting the outcome to predicting something simpler. Several talks raised that LLMs are better at some tasks than others. Zalando found that its agents' price elasticities preserved the ordering across product groups even though the levels were off. Amazon showed similar findings, that LLMs are better at predicting the rank of treatments than their actual effect sizes. Amazon also reported that calibrating the simulator on pre-period data reduced squared prediction error by roughly 77 times. Many of the promising cases for agreement between synthetic users and humans seem to be on tasks of a certain direct nature, e.g. "which of these would you buy", as opposed to "which of these playlists would make you retain the longest". A natural next step for this research is to more formally create a taxonomy for helping experimenters decide which tasks are plausibly replaced or augmented by LLMs and which aren't.
Augment the human sample with an additional synthetic sample. In the first keynote, Dennis Zhang (Washington University in St. Louis) also talked about augmenting human data with simulated data, and reported almost a 100% efficiency increase in one application, halving the human sample size needed. As in the examples above, this application had a very direct outcome, "which of these phones would you buy" given brand, price, and screen size. Generally, the examples that seem to successfully augment are the ones that measure a direct outcome on a precise question, often related to preference. There are few examples of consumption and retention type outcomes being augmented.
Austin van Loon (MIT Sloan) and Klint Kanopka (NYU) presented mixed-subjects RCTs. Some units get measured outcomes and others only predicted ones, and the measured group is used to correct the prediction error. The estimate stays unbiased even when predictions are biased, and gets more precise when they are good. Angela Zhou (USC) and coauthors used LLM judges for off-policy evaluation and spent a small budget of human labels where the judge is least reliable. Our poster on the statistical foundations of LLM-based A/B testing, described above, gives conditions under which calibrated LLM outcomes recover the treatment effect on humans.
Short takes on selected papers
Many treatments, limited traffic
We have written about limited experimentation capacity before, in A/B Test Bandwidth: The Currency of Innovation. The conference added two useful perspectives:
- Tomoya Sasaki (Netflix), Two-stage A/B testing under treatment abundance. Variants are cheap to build, but an A/B test with many cells spreads traffic thin, and adaptive designs usually need special tooling. Here a first A/B test screens all variants and a second tests only the most promising ones. Combining both stages with a simple adjustment for the selection keeps error rates controlled and gives more power, using only ordinary A/B tests.
- Kevin Lee (University of Michigan), Benjamin Letham and Eytan Bakshy (Meta), Ideas worth testing. Predictive models are rarely good enough to pick the winning marketing content in advance. Instead of using the model to pick, this paper uses it to guide generative AI in writing better variants, which are then tested. In three field experiments, the best AI-generated content beat the best human-written content by 36% to 47%.
Decision rules and experimentation programs
Another theme was on optimizing impact over many experiments ("programs"). Talks at the conference added new methods for shipping rules, decentralized experimentation, and learning from archives.
- Max Farrell (UC Santa Barbara), Malika Korganbekova (Stanford) and Sanjog Misra (Chicago Booth), Robust A/B decisions. "Ship if positive and significant" is how most firms decide what to launch, but a significance test asks whether two arms differ in the experiment, not which one pays off once deployed. The authors propose a simple rule that targets payoff, with one parameter for how much you trust the experiment. On 552 advertising experiments it cut regret by about 25%.
- Ermis Soumalias, Richard Mudd and Abbas Zaidi (Meta), Incentive alignment in online experimentation. Teams that build features also choose what to test, and are rewarded on effect estimates that tend to be biased upward. That conflict can erode platform value, and significance thresholds or traffic budgets cannot fix it. The authors show that sample splitting or shrinkage of the estimates can realign incentives, and shrinkage needs no extra traffic.
- Tong Wang, K. Sudhir (Yale) and Hengguang Zhou (Columbia), Knowledge extraction from experiment archives. A/B tests tell you which variant won, not why. Fine-tuning a model on past winners teaches it shortcuts, and in their headline data it raised the use of "shocking" from 0.7% to 43.7% of headlines. Using an LLM to extract explanations for wins across 32,487 headline tests, and generating from those, produced headlines people preferred while avoiding clickbait.
Designing for what you want to learn
Experiments often serve different goals: learning which arm is best, learning the causal effect relative to status-quo, or minimizing costs during experimentation. Adaptive experiment design updates allocation probabilities during an experiment to reach an objective faster, making explicit trade-offs on other goals. Default experimentation at Spotify is designed for learning a causal effect. We could adopt adaptive designs in select surfaces and use cases to increase efficiency and throughput.
- Yu-Shiou Willy Lin, Dae Woong Ham and Iavor Bojinov (Harvard), Benefits and costs of adaptive sampling. Adaptive experiments update the traffic split as data comes in. That can improve precision, but learning the allocation and reweighting also add variance, and users sent to worse arms are a cost. The poster shows when adaptation actually helps in finite samples, and proposes simple allocation rules that balance precision against that cost.
- Hammaad Adam and Blake Mason (Amazon), Warm-starting the validation of adaptive experiments. Adaptive experiments are often followed by a standard A/B test that validates the selected treatments, because short-window adaptive data and the winner's curse make the exploration estimates unreliable. Using only the validation phase throws away weeks of data. The authors propose a Bayesian method that combines both phases, improving effect estimates and launch decisions.
- Shusei Eshima and Simon Ejdemyr (Netflix), Adaptive experiments with protected learning and agentic orchestration. Adaptive allocation finds promising arms faster, but concentrating traffic on them weakens what you learn about which components drive performance. For factorial experiments, this framework prioritizes promising comparisons while protecting precision for prespecified effects, and uses agents to handle the operational complexity.
Metrics
The conference featured contributions on whether and how to correct metric impacts to maximize learnings:
- Sandro Provenzano (Zalando), The noise is the signal. Teams often pick a proxy metric by how well its effects tracked the north star in past experiments. Both are measured on the same users, so their noise is correlated, and recent work proposes to remove that shared noise. This talk shows that for ranking candidate proxies the shared noise is informative, and across 262 experiments removing it made the ranking worse.
- Xiaochen Zhang, Wenjing Zheng, Xingye Kang and Vamsi Manthena (Roblox), Sitewide impact estimation. The same lift on two surfaces is not comparable, because surfaces differ in reach and in how much their users contribute to platform metrics. The talk estimates how much a sitewide metric would move if a treatment reached its whole target population, so a small surface with heavy users can outrank a large one.
People and AI
Finally, one track focused on human-AI interaction in agentic work and organizational decision-making.
- Andrey Fradkin, Yan (Stella) Si and Giorgos Zervas (Boston University), The value of personalization in LLM responses. Users disagree about what makes a good LLM response. Using Arena data, routing each prompt to the model a given user prefers beat serving everyone the single best model in 70.5% of comparisons. Most of the gain came from knowing the user rather than the prompt, and the personalized choices on average score lower on benchmarks.
- Sinan Aral (MIT), Harang Ju (Johns Hopkins), Raphaël Raux and Rui Zuo (MIT), AI sycophancy and human decision-making. LLMs often move toward a user's stated beliefs, but that is not always sycophancy, since the user may know something the model does not. This ongoing project designs experiments that separate the two, and then tests how sycophantic advice affects people's prediction accuracy and satisfaction.
- Charlie Cheng, Eaman Jahani and Siva Viswanathan (Maryland), Metacognitive AI and peer information in collective decisions. Groups tend to weigh members by confidence rather than competence. In a preregistered experiment, talking to an AI assistant before group deliberation raised accuracy by 16 percentage points for less knowledgeable members facing a correct signal from their peers. The assistant worked by making them less confident and more receptive, not by reasoning for them.
Beneath the methods, much of the conference was about using AI deliberately: deciding where it acts, and where people and real-world data are needed to keep it honest. In that sense, human-AI interaction was less a side topic than a thread running through the agenda, from how teams run experiments to how one person works with one model. The better AI gets at generating ideas, judging outputs, and running analyses, the more it matters how we design its role alongside people, and the more important it becomes to keep testing reliably whether it improves the decisions it is meant to support.
CODE@MIT has become a favorite among the experimentation nerds at Spotify and Confidence, and this year was no exception. Maybe we'll see you in Boston next year!
Want to run experiments the way Spotify does? Learn more about Confidence, or read more about how we think about experimentation capacity in A/B Test Bandwidth: The Currency of Innovation.
Start free with Confidence. No credit card needed.
Start free