Skip to content

AI Glossary · Concepts

What is A/B Testing?

A/B Testing

A/B testing is a controlled experiment in which live users are randomly split between the current version of a product (A) and a changed version (B), and the team compares a pre-chosen metric to see whether the change helps. In AI products it is the main way to check that a new model or prompt improves real outcomes, not just offline evals.

Also known as: A/B test, A/B tests, split testing, online controlled experiment

· Updated · Chain of Thought

AI Evaluation & Reliability

  • 2 explainers
  • 1 episode
  • 1 guest clip
  • 2 sources

A travel site wants to know whether a new model writes better hotel summaries. Offline evals look good, but the real question is whether people book more. The team sends a random 10% of visitors to pages with the new summaries, keeps everyone else on the old ones, and after two weeks compares booking rates. If B is better by more than chance would explain, it ships; if not, it doesn’t, however good the demo looked.

The rules that make a test trustworthy apply to AI too. Choose the metric and the sample size before starting. Randomize by user, not by request, so one person doesn’t see both versions. Watch guardrail metrics, such as complaints, latency or cost, alongside the main one, and don’t stop early the moment the numbers look good. AI changes add a wrinkle: a model can raise one metric by gaming it, for example deflecting support tickets instead of resolving them.

In episode 49 at 22:07, Intercom’s Fergal Reid says the company A/B tests every model before production. It checks that soft resolutions rise while hard resolutions don’t fall, to avoid building “a deflection machine”, and its switch between model providers was decided by a test across millions of end-user interactions. He calls production testing with real users the gold standard because backtests and evals can diverge from production, and he reports a surprise: higher latency tended to produce more hard resolutions. Those are Intercom’s findings at its scale. The episode was sponsored by Galileo; the read is at 28:52.

Most teams don’t have that traffic. Smaller ones lean more on AI evaluation before release, then use a canary deployment or shadow deployment to limit risk while collecting production evidence.

Hear it from the guest

“And then we always AB test any model before putting it in production.”
Watch on YouTube

Quotes lightly edited to remove filler words.

Sources

Go deeper

From the conversation